x86-64/MMCFG: pass down firmware (ACPI) reservation status of used memory space
authorJan Beulich <jbeulich@novell.com>
Mon, 25 Jul 2011 15:43:26 +0000 (16:43 +0100)
committerJan Beulich <jbeulich@novell.com>
Mon, 25 Jul 2011 15:43:26 +0000 (16:43 +0100)
commit857ee6b19189a926d108b8c3382fcc51e3d8f59e
treecec3df98d4d4d453d77102c7faaf2bc33b9b7c2b
parent4297249197a5adf2c7517f6d55ed4273ce5e8a05
x86-64/MMCFG: pass down firmware (ACPI) reservation status of used memory space

Reserving the MMCFG address range(s) in E820 is specified to only be
optional for the firmware to do. The requirement is to have them
reserved in ACPI resources. Those, however, aren't directly visible to
Xen as they require the ACPI interpreter to be active. Thus, if a
range isn't reserved in E820, we should not completely disable use of
MMCFG on the respective bus range, but rather keep it disabled until
Dom0 can pass down information on the ACPI reservation status (though
a new physdevop hypercall).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/physdev.c
xen/arch/x86/x86_64/mmconfig-shared.c
xen/arch/x86/x86_64/mmconfig.h
xen/arch/x86/x86_64/mmconfig_64.c
xen/arch/x86/x86_64/physdev.c
xen/include/public/physdev.h
xen/include/xlat.lst